import request from '@/utils/request'

// 查询试剂表单详细列表
export function listReagentFormDetail(query) {
  return request({
    url: '/product/reagentFormDetail/list',
    method: 'get',
    params: query
  })
}

// 查询试剂表单详细详细
export function getReagentFormDetail(bottleDetailId) {
  return request({
    url: '/product/reagentFormDetail/' + bottleDetailId,
    method: 'get'
  })
}

// 新增试剂表单详细
export function addReagentFormDetail(data) {
  return request({
    url: '/product/reagentFormDetail',
    method: 'post',
    data: data
  })
}

// 修改试剂表单详细
export function updateReagentFormDetail(data) {
  return request({
    url: '/product/reagentFormDetail',
    method: 'put',
    data: data
  })
}

// 删除试剂表单详细
export function delReagentFormDetail(bottleDetailId) {
  return request({
    url: '/product/reagentFormDetail/' + bottleDetailId,
    method: 'delete'
  })
}

// 导出试剂表单详细
export function exportReagentFormDetail(query) {
  return request({
    url: '/product/reagentFormDetail/export',
    method: 'get',
    params: query
  })
}